/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the koala4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * @Author: GuoYang
 */
package com.koalacloud.koala.zhaikucloud.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 版块内容
 *
 * @Author: GuoYang
 * @date 2022-02-07 15:36:09
 */
@Data
@TableName("mall_panel_content")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "版块内容")
public class MallPanelContent extends Model<MallPanelContent> {

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "id")
    private Integer id;

    /**
     * 所属板块id
     */
    @Schema(description = "所属板块id")
    private Integer panelId;

    /**
     * 类型 0关联商品 1其他链接
     */
    @Schema(description = "类型 0关联商品 1其他链接")
    private Integer type;

    /**
     * 关联商品id
     */
    @Schema(description = "关联商品id")
    private Long productId;

    /**
     * sortOrder
     */
    @Schema(description = "sortOrder")
    private Integer sortOrder;

    /**
     * 其他链接
     */
    @Schema(description = "其他链接")
    private String fullUrl;

    /**
     * picUrl
     */
    @Schema(description = "picUrl")
    private String picUrl;

    /**
     * 3d轮播图备用
     */
    @Schema(description = "3d轮播图背景2")
    private String picUrl2;

    /**
     * 3d轮播图备用
     */
    @Schema(description = "3d轮播图背景3")
    private String picUrl3;


}
